/**
 * Copyright (C), 2015-2020, XXX有限公司
 * FileName: FeverServiceImpl
 * Author:   Administrator
 * Date:     2020/2/24 17:50
 * Description: 发热服务
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.authine.cloudpivot.web.api.service.impl;

import com.authine.cloudpivot.web.api.dao.HnQueryMapper;
import com.authine.cloudpivot.web.api.service.FeverService;
import com.authine.cloudpivot.web.api.vo.HainanAreaDimensionVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 〈一句话功能简述〉<br> 
 * 〈发热服务〉
 *
 * @author Administrator
 * @create 2020/2/24
 * @since 1.0.0
 */
@Service
public class FeverServiceImpl  implements FeverService {

    @Autowired
    HnQueryMapper hnQueryMapper;

    @Override
    public List<HainanAreaDimensionVo> getHainanAreaDimensionByTownshipName(String townshipName) {
        return hnQueryMapper.getHainanAreaDimensionByTownshipName(townshipName);
    }

    @Override
    public List<HainanAreaDimensionVo> getHainanAreaDimensionByAreaName(String areaName) {
        return hnQueryMapper.getHainanAreaDimensionByAreaName(areaName);
    }

    @Override
    public List<HainanAreaDimensionVo> getHainanAreaDimensionByCityName(String cityName) {
        return hnQueryMapper.getHainanAreaDimensionByCityName(cityName);
    }

    @Override
    public Map<String, String> getHospitalInfo(String hospitalName) {
        return hnQueryMapper.getHospitalInfo(hospitalName);
    }

    @Override
    public int getFeverInfoCount(String feverId) {
        return hnQueryMapper.getFeverInfoCount(feverId);
    }

    @Override
    public int getPharmacyBuyInfoCount(String pharmacyBuyId) {
        return hnQueryMapper.getPharmacyBuyInfoCount(pharmacyBuyId);
    }

    @Override
    public  List<String> getPharmacySyncList(String startDate,String endDate) {
        return hnQueryMapper.getPharmacySyncList(startDate,endDate);
    }
}